<div class="panel panel-default">
  <div class="panel-heading">
    <h4 class="card-title">%1 <a class="btn btn-primary btn-sm" href="%3">URL</a> %6</h4>
    
    <div class="buttons" style="margin-bottom: 10px;">
      <img class="%7" message_id="%9" onclick="switchReadStatus(this); return false;"></img>
      <img class="%8" message_id="%9" onclick="switchStarredStatus(this); return false;"></img>
    </div>
  </div>
  
  <div class="panel-body">
    <div style="padding: 2px; margin: 0px;">
      %10
    </div>
    %4
  </div>

  <div class="panel-footer" style="text-align: center;">
    %2, %5
  </div>
</div>